home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2547 < prev    next >
Encoding:
Text File  |  1996-08-05  |  714 b   |  26 lines

  1. Path: raffis.abo.fi!rosterma
  2. From: rosterma@abo.fi (Ralf ╓stermark)
  3. Newsgroups: comp.lang.c
  4. Subject: long double in c vs. fortran
  5. Date: Mon, 22 Jan 1996 11:48:45
  6. Organization: Abo Akademi University
  7. Message-ID: <rosterma.19.000BD067@abo.fi>
  8. NNTP-Posting-Host: raffis.abo.fi
  9. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  10.  
  11. hi there,
  12.  
  13. i'm trying to do the following:
  14.  (1) allocate a long double array with malloc -> doesn't work
  15. (2) load with data
  16. (3) call an external fortran 77 routine which has a double argument
  17.  
  18. questions:
  19.  
  20.  (1) how can i allocate long double dynamically ?
  21.  (2) how shall i define long double in fortran 77: long double is 80 bits, 
  22. whereas real*16 in fortran is 128 bits.
  23.  
  24. thanks.
  25. Ralf
  26.